/*
 * DA2CommListener.java
 *
 * Created on 11 marzo 2007, 21.02
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.bloomingstars.bluepad.comm;

/**
 *
 * @author vega
 */
public interface DA2CommListener
{
    /**
     * Notifies listener that data has been received 
     *
     * @param data data received
     * @param lastCommand last command issued to DA2
     */
    public void dataReceived(String data, int lastCommand);
    
    /**
     * Called if connection to client is lost
     */
    public void connectionLost();
}
